package com.koron.order.linedefect.base.service;

import com.koron.bean.base.Response;
import com.koron.bean.query.PageQuery;
import com.koron.order.linedefect.base.bean.po.DefectChange;
import com.koron.order.linedefect.base.bean.query.DefectChangeQuery;
import org.koron.ebs.mybatis.SessionFactory;

public interface DefectChangeService {

    Response saveOrUpdate(SessionFactory factory, DefectChange defectChange);

    Response delete(SessionFactory factory, String id);

    Response page(SessionFactory factory, PageQuery pageQuery, DefectChangeQuery defectChangeQuery);

    Response getById(SessionFactory factory, String id);

    Response update(SessionFactory factory, String id, Integer status);

}
